#ifndef _ALGA_PIXEL_FMTS_H
#define _ALGA_PIXEL_FMTS_H
/*
  author Sylvain Bertrand <digital.ragnarok@gmail.com>
  Protected by GNU Affero GPL v3 with some exceptions.
  See README at root of alga tree.
*/
enum alga_pixel_fmt {
	ALGA_PIXEL_FMT_INVALID,
	ALGA_ARGB6666,
	ALGA_ARGB8888,
	ALGA_ARGB2101010
};

static unsigned alga_pixel_fmts_bpc[] __attribute__ ((unused)) = {
	[ALGA_ARGB6666]		= 6,
	[ALGA_ARGB8888]		= 8,
	[ALGA_ARGB2101010]	= 10
};
int alga_pixel_fmts_init(enum alga_pixel_fmt **fmts);
int alga_pixel_fmts_add(enum alga_pixel_fmt fmt, enum alga_pixel_fmt **fmts);
#endif
